package com.qianfeng.openapi.managerplateform.pojo;

import com.fasterxml.jackson.annotation.JsonInclude;

@JsonInclude(value = JsonInclude.Include.NON_NULL)
public class ApiMapping {
    private Integer id;
    private String gatewayApiName;
    private String insideApiUrl;
    private Integer state;
    private String description;
    private String serviceId;
    private String idempotents;//当前服务是否保持幂等性,不允许重复请求,0代表不需要.1 代表需要
    private String needfee;//当前接口是否需要收费, 1 代表需要 ,0 代表免费

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getGatewayApiName() {
        return gatewayApiName;
    }

    public void setGatewayApiName(String gatewayApiName) {
        this.gatewayApiName = gatewayApiName;
    }

    public String getInsideApiUrl() {
        return insideApiUrl;
    }

    public void setInsideApiUrl(String insideApiUrl) {
        this.insideApiUrl = insideApiUrl;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getServiceId() {
        return serviceId;
    }

    public void setServiceId(String serviceId) {
        this.serviceId = serviceId;
    }

    public String getIdempotents() {
        return idempotents;
    }

    public void setIdempotents(String idempotents) {
        this.idempotents = idempotents;
    }

    public String getNeedfee() {
        return needfee;
    }

    public void setNeedfee(String needfee) {
        this.needfee = needfee;
    }
}
